package gvjclient.actions;

import gvjclient.ui.GVJclientUI;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

public class ShowMainWindow extends AbstractAction {

	GVJclientUI clientUI;
	public ShowMainWindow(GVJclientUI clientUI)
	{
		super("Show/Hide");
		this.clientUI = clientUI;
	}
	@Override
	public void actionPerformed(ActionEvent arg0)
	{
		this.clientUI.setVisible(!this.clientUI.isVisible());
	}
}
